height=25>
> include("../../inc_file/view/email_home2.php");?>
|
>
echo "$row2[title][$row2[view]]";?>
|
if(strlen($row2[file2])>0)
echo " \n";
else
echo " \n";
?>
|
//³².³à¸¦ º¯¼ö sex¿¡ ÇÒ´çÇÑ´Ù.
if($row2[sub4]=="W") $sex="(¿©)"; else $sex="(³²)";
//À̸ÞÀϰú ȨÆäÀÌÁö ÁÖ¼Ò¸¦ Á¶°Ç¿¡ ¸ÂÀ¸¸é ¸µÅ©
if($row2[email]) $runner_email="$row2[email]";
if($row2[homeurl]<>"http://") $runner_url="$row2[homeurl]"; else $runner_url=" ";
//runningÄÚµå·ÎºÎÅÍ µ¥ÀÌŸ¸¦ ºÒ·¯¿Â´Ù 5km, 10km, half, fullÄÚ½º ÃÖ°í±â·Ï »Ì¾Æ³»±â
$sql= "select * from $board
where code = 'running' and add_no=0 and main_no>0 and id='$row2[id]'
order by sub1 desc, sub2 desc, sub3 desc, main_no desc, dep_no desc";
$result = mysql_query($sql);
$five_num=0; $ten_num=0; $half_num=0; $full_num=0; $total_num=0; $ultra_distance=0; $gita_distance=0;$ultra_num=0;$gita_num=0;
while($rowr = mysql_fetch_array($result))
{
if($rowr[reply_sel]==n and $rowr[read_only]==g)
{$five_best="$rowr[sub1]:$rowr[sub2]:$rowr[sub3]"; $five_num++;}
if($rowr[reply_sel]==n and $rowr[read_only]==b)
{$ten_best="$rowr[sub1]:$rowr[sub2]:$rowr[sub3]"; $ten_num++;}
if($rowr[reply_sel]==n and $rowr[read_only]==c)
{$half_best="$rowr[sub1]:$rowr[sub2]:$rowr[sub3]"; $half_num++;}
if($rowr[reply_sel]==n and $rowr[read_only]==d)
{$full_best="$rowr[sub1]:$rowr[sub2]:$rowr[sub3]"; $full_num++;}
if($rowr[reply_sel]==n and $rowr[read_only]==e)
{$ultra_distance = $ultra_distance+$rowr[link1]; $ultra_num++;}
if($rowr[reply_sel]==n and $rowr[read_only]==f)
{$gita_distance = $gita_distance+$rowr[link1]; $gita_num++;}
$total_distance = $total_distance+$rowr[link1];
$total_num++;
}
if(!$five_best) $five_best="±â·Ï¾øÀ½";
if(!$ten_best) $ten_best="±â·Ï¾øÀ½";
if(!$half_best) $half_best="±â·Ï¾øÀ½";
if(!$full_best) $full_best="±â·Ï¾øÀ½";
if(!$total_distance) $total_distance="0 km"; else $total_distance="".number_format($total_distance,0)." km";
$ultra_distance="".number_format($ultra_distance,0);
$gita_distance="".number_format($gita_distance,0);
echo "
(Á¾ ¸ñ) |
5km ($five_num"."ȸ) |
10km ($ten_num"."ȸ) |
Half ($half_num"."ȸ) |
Full ($full_num"."ȸ) |
(ÃÖ°í±â·Ï) |
$five_best |
$ten_best |
$half_best |
$full_best |
|
³ª ÀÌ |
´Þ¸²°æ·Â |
¿ïÆ®¶ó ($ultra_num"."ȸ) |
±â Ÿ ($gita_num"."ȸ) |
ÃÑ´Þ¸°°Å¸® |
$current_old ¼¼ $sex |
$carrier_year ³âÂ÷ |
$ultra_distance km |
$gita_distance km |
$total_distance |
ÀüȹøÈ£ |
À̸ÞÀÏ |
ȨÆäÀÌÁö |
$row2[sub3] |
$runner_email |
$runner_url |
|
| \n";
?>
>
>¸í ¿¹ ÀÇ Àü ´ç ÇØ ´ç ÀÚ °Ý
|
include("../../inc_file/view/content_2.php");?>
|
|